package org.example.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
public class Test2Controller {
    @RequestMapping(value = "/test2")
    public String t1(){
        return "redirect:/home.html";//重定向
    }
}
